package com.wdb007.venus.svc.dal.book.dao;

import java.util.List;

import com.wdb007.venus.svc.dal.book.model.BookGridTransDO;

public interface BookGridTransDAO {
	
    int remove(Long id);

    int insert(BookGridTransDO record);

    BookGridTransDO get(Long id);

    int update(BookGridTransDO record);
    
    BookGridTransDO getByCondition(BookGridTransDO query);
    
    List<BookGridTransDO> getLockStatusByUser(BookGridTransDO query);
    
    Integer getRemainingSeconds(BookGridTransDO query);
    
    BookGridTransDO getLastestUserByGridCode(String gridCode);
    
    BookGridTransDO getLastestGridCodeByUser(Long userid);
    
    List<BookGridTransDO> getOpeningList();
    
    List<BookGridTransDO> getOpenedList();
}